import java.util.Random; 
import java.util.Arrays;

public class test3{
	public static void main(String[] args){

		Random ra = new Random();
		int bule = ra.nextInt(16) + 1;

		int[] red = new int[6];
		int i=0;

		while(i<red.length)
		{
			int tmp = ra.nextInt(33)+1;

			if(Arrays.binarySearch(red,tmp)>=0)
			{
				continue;
			}

			red[i]=tmp;
			i++;
		}

		System.out.println("The red balls num : " + Arrays.toString(red));
		System.out.println("The bule ball num : " + bule);
	}
}